# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=pdf2svg
pkgver=0.2.3
pkgrel=1
pkgdesc="A simple PDF to SVG converter using Poppler and Cairo"
url="http://www.cityinthesky.co.uk/opensource/pdf2svg/"
arch="all"
license="GPL-2.0-only"
makedepends="
	cairo-dev
	poppler-dev
	autoconf
	automake
	"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/dawbarton/pdf2svg/archive/v$pkgver.tar.gz
	"
options="!check" # Unit tests are currently empty

build() {
	./configure --prefix /usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e8f0cc34c112c7d9ae02396ca587f1354462add882501f003b0173e05ebb09c09456dc1736679674fec5a2c04bdc0ef4141266090ba7efeba8b194ee602f5ee2  pdf2svg-0.2.3.tar.gz"
